package com.novel;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import tk.mybatis.spring.annotation.MapperScan;


@ServletComponentScan//开启注解扫描，扫描的注解有 webServlet、webListener、webFilter等原生tomcat注解
@SpringBootApplication
@MapperScan(basePackages = "com.novel.mapper")
public class NovelApplication {

    public static void main(String[] args) {
        SpringApplication.run(NovelApplication.class, args);
    }

}
